package com.wonders.hisdoctor.station.project.base.service.impl;

import com.wonders.hisdoctor.station.project.base.domain.OutpPrescT;
import com.wonders.hisdoctor.station.project.base.mapper.OutpOrdersTMapper;
import com.wonders.hisdoctor.station.project.base.service.IOutpPrescTService;
import com.wonders.hisdoctor.station.project.base.mapper.OutpPrescTMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * <p>
 * 门诊医嘱处方明细临时表：处方医嘱队列OUTP_PRESC一个复制。 服务类
 * </p>
 *
 * @author tong_aj
 * @since 2021/01/19
 */
@Service
public class OutpPrescTServiceImpl extends ServiceImpl<OutpPrescTMapper, OutpPrescT> implements IOutpPrescTService {

    @Autowired
    private OutpOrdersTMapper outpOrdersTMapper;

    /**
     * 批量删
     *
     * @param outpPrescTs 处方明细临时表
     * @return int
     */
    @Override
    public int deleteBatchIds(List<OutpPrescT> outpPrescTs) {
        return outpOrdersTMapper.deleteBatchIds(outpPrescTs);
    }
}
